import request from "@/utils/request";
import cfg from "@/config/config";

const login = {
  //验证登录
  valiLogin: param => {
    return request("post", cfg.apiUrl + "api/login/valiLogin", param);
  },

  //提交修改密码
  modifyPassword: param => {
    return request("post", cfg.apiUrl + "api/user/updateDtUserPassword", param);
  }
};

export default login;
